package com.example.demo.entity.dto;

import com.example.demo.common.constant.RuleCode;
import com.example.demo.verify.ParamValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "登录信息传参")
public class LoginerDTO {
    @ApiModelProperty("登录账号")
    @ParamValid(name = "账号", rule = RuleCode.noWick)
    private String username;

    @ApiModelProperty("登录密码")
    @ParamValid(name = "密码", rule = RuleCode.noWick)
    private String password;
}
